Telegram Group & Telegram Channel
Задача с кодом. Каждое слово — с большой буквы

Ваша задача — воспроизвести функционал метода title(), создав функцию emphasise(). Метод title() делает заглавной первую букву каждого слова, все остальные буквы переводятся в нижний регистр.

Примечания:

- С цифрами и прочими символами ничего делать не надо, работаем только с буквами.
- Пожалуйста, не используйте сам метод title()!

Примеры:

emphasise("hello world") ➞ "Hello World"
emphasise("GOOD MORNING") ➞ "Good Morning"
emphasise("99 red balloons!") ➞ "99 Red Balloons!"

Решение на нашем сайте.

#задача #coding



tg-me.com/pythonist_ru/2438
Create:
Last Update:

Задача с кодом. Каждое слово — с большой буквы

Ваша задача — воспроизвести функционал метода title(), создав функцию emphasise(). Метод title() делает заглавной первую букву каждого слова, все остальные буквы переводятся в нижний регистр.

Примечания:

- С цифрами и прочими символами ничего делать не надо, работаем только с буквами.
- Пожалуйста, не используйте сам метод title()!

Примеры:

emphasise("hello world") ➞ "Hello World"
emphasise("GOOD MORNING") ➞ "Good Morning"
emphasise("99 red balloons!") ➞ "99 Red Balloons!"

Решение на нашем сайте.

#задача #coding

BY Pythonist.ru - образование по питону


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonist_ru/2438

View MORE
Open in Telegram


Pythonist ru образование по питону Telegram | DID YOU KNOW?

Date: |

The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.

How Does Bitcoin Mining Work?

Bitcoin mining is the process of adding new transactions to the Bitcoin blockchain. It’s a tough job. People who choose to mine Bitcoin use a process called proof of work, deploying computers in a race to solve mathematical puzzles that verify transactions.To entice miners to keep racing to solve the puzzles and support the overall system, the Bitcoin code rewards miners with new Bitcoins. “This is how new coins are created” and new transactions are added to the blockchain, says Okoro.

Pythonist ru образование по питону from sa


Telegram Pythonist.ru - образование по питону
FROM USA